package com.ruoyi.api.abuwx.service.impl;

import com.ruoyi.abuwx.domain.AbuwxRegionStatistics;
import com.ruoyi.abuwx.service.IAbuwxRegionStatisticsService;
import com.ruoyi.api.abuwx.service.RegionStatisticsiService;
import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.common.utils.satoken.StpClientUtil;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author zouhuu
 * @description 客户端 地区统计管理模块 服务层
 * @date 2022/07/04 16:21:13
 */
@Service
public class RegionStatisticsiImpl implements RegionStatisticsiService {



    @Autowired
    private IAbuwxRegionStatisticsService iAbuwxRegionStatisticsService;



    /**
     * 地区统计
     * @return
     */
    @Override
    public AjaxResult rechargeStatisticsi() {
        AbuwxRegionStatistics Statisticsi = new AbuwxRegionStatistics();
        Statisticsi.setUid(StpClientUtil.getLoginIdAsLong());
        return AjaxResult.success(iAbuwxRegionStatisticsService.selectAbuwxRegionStatisticsList(Statisticsi));
    }
}
